﻿<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
	<CustomAction
            Id="ManualItemRsync"
            RegistrationId="0x01009C703949A1AE054580E048B68B70E934"
            RegistrationType="ContentType"
            Sequence="10000"
            Location="EditControlBlock"
            Title="Run this sync job now"
            Description="Will manually execute the sync timer job for this item"
            ImageUrl="/_layouts/15/images/recurrence.gif">
		<UrlAction Url="/_layouts/15/SharePointRsync/rsyncjobcontrol.aspx?itemid={ItemId}&amp;listid={ListId}&amp;weburl={SiteUrl}"/>
	</CustomAction>
	<CustomAction
        Id="ManualListRsync"
        Location="CommandUI.Ribbon.ListView"
        RegistrationId="0x01009C703949A1AE054580E048B68B70E934"
        RegistrationType="ContentType"
        RequireSiteAdministrator="TRUE"
        Title="Sync Entire List"
        Sequence="95"
        ImageUrl="/_layouts/15/images/recurrence.gif"
        Rights="ManagePermissions">
		<CommandUIExtension>
			<CommandUIDefinitions>
				<CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
					<Button Id="SyncList.Button" Image32by32="/_layouts/15/images/recurrence.gif" Command="SyncList" CommandType="General" Description="Syncs Entire List" TemplateAlias="o2" Sequence="95" LabelText="Sync List"/>
				</CommandUIDefinition>
			</CommandUIDefinitions>
			<CommandUIHandlers>
				<CommandUIHandler Command="SyncList" CommandAction="/_layouts/15/SharePointRsync/rsyncjobcontrol.aspx?listid={ListId}&amp;weburl={SiteUrl}" />
			</CommandUIHandlers>
		</CommandUIExtension>
	</CustomAction>
</Elements>